#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# @Project:     data_manager
# @File:        utils.py
# @Author:      Fan GuiChuan
# @Date:        2024/12/17 9:16
# @Version:     Python3.7
# @Description:
# my_db_tool/utils.py
import yaml


def load_config(file_path):
    """加载 YAML 配置文件"""
    with open(file_path, 'r') as f:
        return yaml.safe_load(f)
